package com.example.demo.timeTask;



import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


//@Component
public class PrintTask {

    @Scheduled(cron="* * * * * ?")
    public void refreshSeckillGoods(){

        System.out.println("12345");
    }



}
